package com.example.demotencentbigdata.api;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;

public interface JDBCApi {
    List<HashMap<String, Object>> testQuery(Connection connection, String querySql) throws SQLException;

    Connection getConnect(String url, String userName, String passWd) throws SQLException;

    int update(Connection connection, String updateSql) throws SQLException;
}
